#include <QApplication>
#include <QListView>
#include "imagelistmodel.h"
#include <QList>
#include <QImage>
#include <QDebug>

int main(int argc, char* argv[])
{
    QApplication app(argc, argv);

    QListView imageListView;
    QList<QImage> images;
    images.append(QImage(":/1st.png"));
    images.append(QImage(":/2nd.png"));
    images.append(QImage(":/3rd.png"));

    qDebug() << images.size();

    ImageListModel model(images);
    imageListView.setModel(&model);
    imageListView.show();

    return app.exec();
}
